package cn.com.wangluotongxin.admin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 网路通信-管理端-系统消息
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("admin_sys_message")
@ApiModel(value = "AdminSysMessage对象", description = "网路通信-管理端-系统消息")
public class AdminSysMessage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("消息类型 0.系统 1.用户")
    private Integer type;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("业务类型 1.数据库发版")
    private Integer businessType;

    @ApiModelProperty("业务ID")
    private Integer businessId;

    @ApiModelProperty("是否阅读")
    private Integer isRead;

    @ApiModelProperty("是否删除")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
